package com.ruoyi.workbench.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import lombok.Getter;
import lombok.Setter;

/**
 * @author hanjiafeng
 * @date 2021/3/7 13:45
 * @desc todo
 */
public class WbWholeUnitVisitLogNew extends WbVisitLog{
    @Getter
    @Setter
    @Excels({
            @Excel(name = "承包人姓名", targetAttr = "unit5.leader", type = Excel.Type.EXPORT),
            @Excel(name = "承包人工号", targetAttr = "unit5.email", type = Excel.Type.EXPORT),
            @Excel(name = "小区/街道/自然庄", targetAttr = "unit7.name", type = Excel.Type.EXPORT),
            @Excel(name = "社区/行政村", targetAttr = "unit6.name", type = Excel.Type.EXPORT),
            @Excel(name = "包区名称", targetAttr = "unit5.deptName", type = Excel.Type.EXPORT),
            @Excel(name = "四级单元", targetAttr = "unit4.deptName", type = Excel.Type.EXPORT),
            @Excel(name = "三级单元", targetAttr = "unit3.deptName", type = Excel.Type.EXPORT),
            @Excel(name = "楼栋", targetAttr = "unit8.name", type = Excel.Type.EXPORT),
            @Excel(name = "单元", targetAttr = "unit9.name", type = Excel.Type.EXPORT),
    })
    private WbWholeUnitNew wbWholeUnitNew;
}
